package com.zhiche.lisa.lspm.vo.driver;

import java.io.Serializable;
import java.util.Date;

public class RegistDriverVO implements Serializable {

    private Long id;

    //登录标识
    private String identifier;

    //登录口令
    private String credential;

    //租户Id
    private Long tenantId;

    //司机名称
    private String driverName;

    //是否为管理员账号
    private boolean isAdmin = false;

    //是否为技术账号
    private boolean isTech = false;

    //是否锁定
    private boolean isLocked = false;

    //创建时间
    private Date gmtCreate;

    /**
     * 邮箱
     */
    private String mail;
    /**
     * 手机号
     */
    private String mobile;

    /**
     * 司机的ID
     */
    private Long driverId;

    //注册人
    private String creator;

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public String getCredential() {
        return credential;
    }

    public void setCredential(String credential) {
        this.credential = credential;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public boolean isAdmin() {
        return isAdmin;
    }

    public void setAdmin(boolean admin) {
        isAdmin = admin;
    }

    public boolean isTech() {
        return isTech;
    }

    public void setTech(boolean tech) {
        isTech = tech;
    }

    public boolean isLocked() {
        return isLocked;
    }

    public void setLocked(boolean locked) {
        isLocked = locked;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Long getDriverId() {
        return driverId;
    }

    public void setDriverId(Long driverId) {
        this.driverId = driverId;
    }


    @Override
    public String toString() {
        return "RegistDriverVO{" +
                "id=" + id +
                ", identifier='" + identifier + '\'' +
                ", credential='" + credential + '\'' +
                ", tenantId=" + tenantId +
                ", driverName='" + driverName + '\'' +
                ", isAdmin=" + isAdmin +
                ", isTech=" + isTech +
                ", isLocked=" + isLocked +
                ", gmtCreate=" + gmtCreate +
                ", mail='" + mail + '\'' +
                ", mobile='" + mobile + '\'' +
                ", driverId=" + driverId +
                '}';
    }
}
